package com.yanze.schoolinformation.model.bean.book;

import android.databinding.BaseObservable;

import java.io.Serializable;
import java.util.List;

public class BooksBean extends BaseObservable implements Serializable {
        /**
         * rating : {"max":10,"numRaters":97717,"average":"8.2","min":0}
         * subtitle : 国内第一本精神病人访谈手记
         * author : ["高铭"]
         * pubdate : 2010-2
         * tags : [{"count":32122,"name":"心理学","title":"心理学"},{"count":21856,"name":"精神病学","title":"精神病学"},{"count":11873,"name":"心理","title":"心理"},{"count":9553,"name":"哲学","title":"哲学"},{"count":8427,"name":"精神病","title":"精神病"},{"count":6353,"name":"社会学","title":"社会学"},{"count":5066,"name":"高铭","title":"高铭"},{"count":4267,"name":"量子物理","title":"量子物理"}]
         * origin_title :
         * image : https://img1.doubanio.com/view/subject/m/public/s6340977.jpg
         * binding : 平装
         * translator : []
         * catalog : 序言：更多、更多的世界
         1．生命的尽头
         2．梦的真实性
         3．四维虫子
         4．进化惯性
         5．三只小猪——前篇：不存在的哥哥
         6．三只小猪——后篇：多重人格
         7．女人的星球
         8．最后的撒旦
         9．角色问题
         10．飞禽走兽
         11．苹果的味道
         12．颅骨穿孔——前篇：异能追寻者
         13．颅骨穿孔——后篇：如影随形
         14．角度问题
         15．永远．永远
         16．生化奴隶
         17．真正的世界
         18．控制问题
         19．时间的尽头——前篇：桶子空间
         20．时间的尽头——后篇：瞬间就是永恒
         篇外篇（一）：有关精神病的午后对谈
         21．雨默默的
         22．孤独的守望者
         23．超级进化论
         24．盗尸者
         25．表面现象
         26．在墙的另一边
         27．伪装的文明
         28．预见未来
         29．迷失的旅行者——前篇：精神传输
         30．迷失的旅行者——中篇：压缩问题
         31．迷失的旅行者——后篇：回传
         32．死亡周刊
         33．永不停息的心脏．
         34．行尸走肉
         35．双子
         篇外篇（二）：精神病科医生
         36．双面人
         37．满足的条件
         38．还原一个世界——前篇：遗失的文明
         39．还原一个世界——中篇：暗示
         40．还原一个世界——后篇：末知的文明
         41．萨满
         42．朝生薯死
         43．伴随着月亮
         44．灵魂深处
         45．偷取时问
         46．永生
         47．果冻世界——前篇：物质的尽头
         48．果冻世界——后篇：幕布
         后记：人生若只如初见
         * pages : 258
         * images : {"small":"https://img1.doubanio.com/view/subject/s/public/s6340977.jpg","large":"https://img1.doubanio.com/view/subject/l/public/s6340977.jpg","medium":"https://img1.doubanio.com/view/subject/m/public/s6340977.jpg"}
         * alt : https://book.douban.com/subject/4242172/
         * id : 4242172
         * publisher : 武汉大学出版社
         * isbn10 : 7307075423
         * isbn13 : 9787307075429
         * title : 天才在左 疯子在右
         * url : https://api.douban.com/v2/book/4242172
         * alt_title : 精神病人的世界
         * author_intro : 高铭，男，汉族。生于上世纪70年代的北京。目前任职于某公司项目总监。
         自认为死心眼一根筋，对于探索未知事物总是有无尽渴望。从学龄前就已经有了至今仍然挂在嘴边的口头禅：“为什么？”成年后曾一度沉迷于宗教、哲学、量子物理、非线性动力学、心理学、生物学、天体物理等学科。21世纪以来又开始对精神病患、心理障碍者、边缘人的内心世界产生了强烈好奇。
         2004—2008年间，通过各种渠道，利用所有的闲暇时间，探访精神病院、公安部等机构，对“非正常人群”进行近距离访谈，并加工整理出了这本书的内容。
         “我从未想到居然有这么多人鼓励并欣赏这些内容，长久以来，我一直以为自己是个疯子。但是，我很欣慰。”
         * summary : 本书以访谈录的形式记载了生活在另一个角落的人群（精神病患者、心理障碍者等边缘人）深刻、视角独特的所思所想，让人们可以了解到疯子抑或天才真正的内心世界。此书是国内第一本具有人文情怀的精神病患谈访录。内容涉及生理学、心理学、佛学、宗教、量子物理、符号学以及玛雅文明和预言等众多领域。
         * price : 29.80元
         * series : {"id":"12495","title":"少有人走的路"}
         */

        private RatingBean rating;
        private String subtitle;
        private String pubdate;
        private String origin_title;
        private String image;
        private String binding;
        private String catalog;
        private String pages;
        private ImagesBean images;
        private String alt;
        private String id;
        private String publisher;
        private String isbn10;
        private String isbn13;
        private String title;
        private String url;
        private String alt_title;
        private String author_intro;
        private String summary;
        private String price;
        private SeriesBean series;
        private List<String> author;
        private List<TagsBean> tags;
        private List<String> translator;

        public RatingBean getRating() {
            return rating;
        }

        public void setRating(RatingBean rating) {
            this.rating = rating;
        }

        public String getSubtitle() {
            return subtitle;
        }

        public void setSubtitle(String subtitle) {
            this.subtitle = subtitle;
        }

        public String getPubdate() {
            return pubdate;
        }

        public void setPubdate(String pubdate) {
            this.pubdate = pubdate;
        }

        public String getOrigin_title() {
            return origin_title;
        }

        public void setOrigin_title(String origin_title) {
            this.origin_title = origin_title;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getBinding() {
            return binding;
        }

        public void setBinding(String binding) {
            this.binding = binding;
        }

        public String getCatalog() {
            return catalog;
        }

        public void setCatalog(String catalog) {
            this.catalog = catalog;
        }

        public String getPages() {
            return pages;
        }

        public void setPages(String pages) {
            this.pages = pages;
        }

        public ImagesBean getImages() {
            return images;
        }

        public void setImages(ImagesBean images) {
            this.images = images;
        }

        public String getAlt() {
            return alt;
        }

        public void setAlt(String alt) {
            this.alt = alt;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getPublisher() {
            return publisher;
        }

        public void setPublisher(String publisher) {
            this.publisher = publisher;
        }

        public String getIsbn10() {
            return isbn10;
        }

        public void setIsbn10(String isbn10) {
            this.isbn10 = isbn10;
        }

        public String getIsbn13() {
            return isbn13;
        }

        public void setIsbn13(String isbn13) {
            this.isbn13 = isbn13;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getAlt_title() {
            return alt_title;
        }

        public void setAlt_title(String alt_title) {
            this.alt_title = alt_title;
        }

        public String getAuthor_intro() {
            return author_intro;
        }

        public void setAuthor_intro(String author_intro) {
            this.author_intro = author_intro;
        }

        public String getSummary() {
            return summary;
        }

        public void setSummary(String summary) {
            this.summary = summary;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public SeriesBean getSeries() {
            return series;
        }

        public void setSeries(SeriesBean series) {
            this.series = series;
        }

        public List<String> getAuthor() {
            return author;
        }

        public void setAuthor(List<String> author) {
            this.author = author;
        }

        public List<TagsBean> getTags() {
            return tags;
        }

        public void setTags(List<TagsBean> tags) {
            this.tags = tags;
        }

        public List<String> getTranslator() {
            return translator;
        }

        public void setTranslator(List<String> translator) {
            this.translator = translator;
        }

        public static class RatingBean extends BaseObservable implements Serializable{
            /**
             * max : 10
             * numRaters : 97717
             * average : 8.2
             * min : 0
             */

            private int max;
            private int numRaters;
            private String average;
            private int min;

            public int getMax() {
                return max;
            }

            public void setMax(int max) {
                this.max = max;
            }

            public int getNumRaters() {
                return numRaters;
            }

            public void setNumRaters(int numRaters) {
                this.numRaters = numRaters;
            }

            public String getAverage() {
                return average;
            }

            public void setAverage(String average) {
                this.average = average;
            }

            public int getMin() {
                return min;
            }

            public void setMin(int min) {
                this.min = min;
            }
        }

        public static class ImagesBean extends BaseObservable implements Serializable {
            /**
             * small : https://img1.doubanio.com/view/subject/s/public/s6340977.jpg
             * large : https://img1.doubanio.com/view/subject/l/public/s6340977.jpg
             * medium : https://img1.doubanio.com/view/subject/m/public/s6340977.jpg
             */

            private String small;
            private String large;
            private String medium;

            public String getSmall() {
                return small;
            }

            public void setSmall(String small) {
                this.small = small;
            }

            public String getLarge() {
                return large;
            }

            public void setLarge(String large) {
                this.large = large;
            }

            public String getMedium() {
                return medium;
            }

            public void setMedium(String medium) {
                this.medium = medium;
            }
        }

        public static class SeriesBean extends BaseObservable implements Serializable {
            /**
             * id : 12495
             * title : 少有人走的路
             */

            private String id;
            private String title;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }

        public static class TagsBean extends BaseObservable implements Serializable {
            /**
             * count : 32122
             * name : 心理学
             * title : 心理学
             */

            private int count;
            private String name;
            private String title;

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }
    }